#pragma once
#include "../SGD Wrappers/SGD_Event.h"
#include "StaticObject.h"

class Gate : public StaticObject
{
public:

	Gate();
	~Gate();

	void Render();
	void Update(float dt);
	void HandleEvent(const SGD::Event* pEvent);
	void SetStartPosition(SGD::Point pos) { m_ptStartPos = pos; }

private:

	float			m_fDistance;
	SGD::Point		m_ptStartPos;
	bool			m_bActive;
	bool			m_bPlayed;
	bool			m_bGateUp;
};